parser_Debug=-D__TEST__DEBUG__2
server_Debug=-D__TEST__DEBUG__1

.PHONY:all
all:parser server http_server

parser:parser.cpp
	g++ -std=c++11 $^ -o $@ -lboost_filesystem -lboost_system #$(parser_Debug)

server:server.cpp
	g++ -std=c++11 $^ -o $@ -ljsoncpp $(server_Debug)

start_http:
	scl enable devtoolset-7 bash
http_server:http_server.cpp
	g++ -std=c++11 $^ -o $@ -ljsoncpp -lpthread

.PHONY:clean
clean:
	rm -rf parser server http_server